import request from "@/utils/request";

export const getService = (id: string) => {
  return request.get(`api/app/service/${id}`);
};

export const getServiceList = () => {
  return request({
    url: "/api/app/service",
    method: "GET",
  });
};

export const registerService = (data: any) => {
  return request.post("/api/app/service/register", data);
};
